<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/14 014
 * Time: 14:04
 */
namespace App\Http\Controllers;

use App\Singleton\Singleton;

class SingletonController
{
    public function index()
    {
        $singleton = Singleton::getInstance();

        echo ($singleton->getName());
    }
}